Program RichEdit provides menu commands that give access to many of the rich text box's features including:
•	Bold
•	Italic
•	Underline
•	Strikethru
•	Different Colors
When the user selects one of these commands, the program toggles the value of the corresponding rich text box property.
For example, the following code shows how the program toggles the bold status of the selected text when the user invokes the Bold menu item. Similar event handlers handle the program's other menu items.